import turtle
            #w    h  距离左 右
turtle.setup(550,550,200,300)
turtle.shape('turtle')
turtle.penup()#向上运动轨迹不会留下
turtle.fd(-250)#后退250
turtle.pendown()
turtle.pensize(25)#笔变粗
turtle.pencolor('purple')
turtle.seth(-40)#设置方向角度
for i in range(4):#
    turtle.circle(40,80)#r=40 左边
    turtle.circle(-40,80)#右边
turtle.circle(40,40)
turtle.fd(40)
turtle.circle(16,180)#弧度180
turtle.fd(40*2/3)
